package com.myweb.res;

import java.io.Serializable;

/**
 * 
 * @Title: ResponseBase.java 
 * @Package myweb.com.res 

 * @Description: base操作模块响应 
 * @author jianguo.jing	
 * @author Damon·Jing
 * QQ:2811001300
 * @date 2017年10月27日 上午10:42:56 
 * @version V1.0
 */
public class ResponseBase implements Serializable {

	private static final long serialVersionUID = 1L;

	private int retcode;
	
	private String msg;

	public boolean success(){
		if(retcode == 0){
			return true;
		}else{
			return false;
		}
	}
	public int getRetcode() {
		return retcode;
	}

	public void setRetcode(int retcode) {
		this.retcode = retcode;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

}
